runtime.mspan.limit (field)
16 uses
runtime (current package)
arena.go#L806: asanpoison(unsafe.Pointer(rzStart), span.limit-rzStart)
arena.go#L1066: s.limit = s.base() + s.elemsize
arena.go#L1116: *(*uintptr)(unsafe.Pointer(&s.largeType)) = uintptr(unsafe.Pointer(s.limit))
arena.go#L1117: *(*uintptr)(unsafe.Pointer(&s.largeType.GCData)) = s.limit + unsafe.Sizeof(_type{})
mbitmap.go#L442: } else if s.state.get() != mSpanInUse || dst < s.base() || s.limit <= dst {
mbitmap.go#L1239: print(" span.base()=", hex(s.base()), " span.limit=", hex(s.limit), " span.state=", state)
mbitmap.go#L1291: if state := s.state.get(); state != mSpanInUse || p < s.base() || p >= s.limit {
mcache.go#L254: s.limit = s.base() + size
mcentral.go#L262: s.limit = s.base() + size*n
mgcmark.go#L1648: print(" s.base()=", hex(s.base()), " s.limit=", hex(s.limit), " s.spanclass=", s.spanclass, " s.elemsize=", s.elemsize, " s.state=")
mgcsweep.go#L816: s.limit = 0 // prevent mlookup from finding this span
mheap.go#L484: limit uintptr // end of data in span
mheap.go#L652: return b < s.limit
mheap.go#L722: if s == nil || s.state.get() != mSpanInUse || p < s.base() || p >= s.limit {
mheap.go#L1393: s.limit = s.base() + s.npages*pageSize
signal_unix.go#L410: if s != nil && s.state.get() == mSpanManual && s.base() < sp && sp < s.limit {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |